<!DOCTYPE html>
<html>
<head>
    <title>进货</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn" style="margin-top: 20px">
            <div class="form-group col-sm-2">
                <input type="text" v-model="searcher.productName" class="form-control" placeholder="产品名称">
            </div>
            <div class="form-group col-sm-2 ">
                <input type="text" v-model="searcher.code" class="form-control" placeholder="产品编号">
            </div>
            <div class="form-group col-sm-2">
                <input type="text" v-model="searcher.shopName" class="form-control" placeholder="供应商">
            </div>
            <div class="form-group col-sm-2">
                <select class="form-control" v-model="searcher.category">
                    <option v-for="cate in categoryList" v-bind:value="cate.id">
                        {{ cate.name }}
                    </option>
                </select>
            </div>

            <div class="form-group col-sm-2">
                <input type="text"  id="datetimeStart" class="form-control" placeholder="开始时间">
            </div>
            <div class="form-group col-sm-2">
                <input type="text"  id="datetimeEnd" class="form-control" placeholder="结束时间">
            </div>

            <a class="btn btn-primary" @click="query">查询</a>
        </div>

        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

</div>
<script src="${request.contextPath}/statics/libs/datetimepicker/bootstrap-datetimepicker.js?_${.now?long}"></script>
<script src="${request.contextPath}/statics/libs/datetimepicker/bootstrap-datetimepicker.zh-CN.js?_${.now?long}"></script>
<script src="${request.contextPath}/statics/js/modules/sys/purchase.js?_${.now?long}"></script>
</body>
</html>